module.exports = (arr, n = 1) => arr.slice(0, -n);